package com.shigu.admin.common.vo;


import com.shigu.admin.common.enums.PageType;

import java.io.Serializable;
import java.util.List;

/**
 * 页面信息
 * Created by zhaohongbo on 17/7/10.
 */
public class PageInfoVO implements Serializable{
    /**
     * 初始化sql
     */
    private List<SqlVO> sqlList;
    /**
     * 自定义html
     * userDefine用
     */
    private String html;
    /**
     * 页面标题
     */
    private String title;
    /**
     * 仅限
     */
    private String permissions;

    /**
     * 行方法
     * dataCell用
     */
    private List<FunctionVO> rowFunctions;
    /**
     * 页面方法
     */
    private List<FunctionVO> pageFunctions;
    /**
     * 条件搜索参数
     * dataCell用
     */
    private List<ParamVO> params;
    /**
     * 列title
     */
    private List<String> fieldTitles;
    /**
     * 列字段
     */
    private List<String> fieldVariables;

    private PageType type;
    /**
     * 外链
     */
    private String outerUrl;

    public PageType getType() {
        return type;
    }

    public void setType(PageType type) {
        this.type = type;
    }

    public List<SqlVO> getSqlList() {
        return sqlList;
    }

    public void setSqlList(List<SqlVO> sqlList) {
        this.sqlList = sqlList;
    }

    public String getHtml() {
        return html;
    }

    public void setHtml(String html) {
        this.html = html;
    }

    public List<FunctionVO> getRowFunctions() {
        return rowFunctions;
    }

    public void setRowFunctions(List<FunctionVO> rowFunctions) {
        this.rowFunctions = rowFunctions;
    }

    public List<FunctionVO> getPageFunctions() {
        return pageFunctions;
    }

    public void setPageFunctions(List<FunctionVO> pageFunctions) {
        this.pageFunctions = pageFunctions;
    }

    public List<ParamVO> getParams() {
        return params;
    }

    public void setParams(List<ParamVO> params) {
        this.params = params;
    }

    public List<String> getFieldTitles() {
        return fieldTitles;
    }

    public void setFieldTitles(List<String> fieldTitles) {
        this.fieldTitles = fieldTitles;
    }

    public List<String> getFieldVariables() {
        return fieldVariables;
    }

    public void setFieldVariables(List<String> fieldVariables) {
        this.fieldVariables = fieldVariables;
    }

    public String getPermissions() {
        return permissions;
    }

    public void setPermissions(String permissions) {
        this.permissions = permissions;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getOuterUrl() {
        return outerUrl;
    }

    public void setOuterUrl(String outerUrl) {
        this.outerUrl = outerUrl;
    }
}
